home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr46
/
strx221.zip
/
REGX.H
< prev
next >
Wrap
Text File
|
1993-03-08
|
777b
|
36 lines
//
// regx.h : regular expression class interface
// Author : Roy S. Woll
//
// Copyright (c) 1993 by Roy S. Woll
// You may distribute this source freely as long as you leave all files
// in their original form, including the copyright notice as is.
//
// Version 2.1 12/10/92 Add copy constructor
// Version 2.0 12/1/92
//
#ifndef _REGX_H
#define _REGX_H
class regXimp;
class regX{
regXimp * imp;
public:
regX(void);
regX(const regX&);
regX(const char * regexp);
~regX(void);
regX& operator=(const char * regexp);
regX& operator=(const regX&);
int index(const char * searchStr, int * matchLenPtr,
int start=0, int p_caseSensitive=1) const;
int error(void) const;
};
#endif